module.exports = {
  disableEmoji: false,
  format: '{type}{scope}: {emoji}{subject}',
  list: [
    'test',
    'feat',
    'fix',
    'chore',
    'docs',
    'refactor',
    'style',
    'ci',
    'perf',
    'build',
  ],
  maxMessageLength: 64,
  minMessageLength: 3,
  questions: [
    'type',
    'scope',
    'subject',
    'body',
    'breaking',
    'issues',
    'lerna',
  ],
  scopes: [],
  types: {
    chore: {
      description: '构建过程或辅助工具的变动',
      emoji: '🤖',
      value: 'chore',
    },
    ci: {
      description:
        '对CI配置文件和脚本的更改(示例范围:Travis, Circle, BrowserStack, SauceLabs)',
      emoji: '🎡',
      value: 'ci',
    },
    docs: {
      description: '文档增删改',
      emoji: '✏️',
      value: 'docs',
    },
    feat: {
      description: '一个新功能',
      emoji: '🎸',
      value: 'feat',
    },
    fix: {
      description: '一个bug',
      emoji: '🐛',
      value: 'fix',
    },
    perf: {
      description: '性能优化',
      emoji: '⚡️',
      value: 'perf',
    },
    refactor: {
      description: '既不修复bug也不添加新功能的更改',
      emoji: '💡',
      value: 'refactor',
    },
    build: {
      description: '新的发版提交',
      emoji: '🏹',
      value: 'build',
    },
    style: {
      description: '样式修改(空白、格式、缺少分号等)',
      emoji: '💄',
      value: 'style',
    },
    test: {
      description: '增加测试',
      emoji: '💍',
      value: 'test',
    },
  },
};
